package com.skyolder.milkbee.service.mapper;

import com.skyolder.milkbee.domain.*;
import com.skyolder.milkbee.service.dto.FavoriteDTO;

import org.mapstruct.*;
import java.util.List;

/**
 * Mapper for the entity Favorite and its DTO FavoriteDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface FavoriteMapper {

    FavoriteDTO favoriteToFavoriteDTO(Favorite favorite);

    List<FavoriteDTO> favoritesToFavoriteDTOs(List<Favorite> favorites);

    Favorite favoriteDTOToFavorite(FavoriteDTO favoriteDTO);

    List<Favorite> favoriteDTOsToFavorites(List<FavoriteDTO> favoriteDTOs);
}
